package com.algorithm.trie;

/**
 * @Author: DOWN
 * @Date: 2022/5/9 17:55
 * @Comment: 测试用例
 */
public class Test {
    public static void main(String[] args){
        String[] words={"WordDictionary","addWord","addWord","addWord","addWord","search","search","addWord","search","search","search","search","search","search"};
        Solution211 solution211=new Solution211();
        for (String item:words
             ) {
            solution211.addWord(item);
        }
        System.out.println(solution211.search("."));
    }
}
